![]() |
SetMenuFont |
||||
Header: | Menus.h | Carbon status: | Supported | |
Sets the font to be used in a menu.
OSStatus SetMenuFont ( MenuHandle menu, SInt16 inFontID, UInt16 inFontSize );
A value of type MenuHandle. Pass a handle to the menu whose font is to be set.
The font family ID for the font to be used. Pass 0 to use the current system font.
The size, in points, of the font to be used. Valid font size values range from 9 to 24 points, inclusive. Pass 0 to use the font size of the current system font.
A result code.
Your application may use the SetMenuFont function to set the font for an individual menu, such as a pop-up menu.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when MenusLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by MenusLib 8.5 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)